#!/bin/bash

DEPLOY_DIR=`pwd`
CONF_DIR=$DEPLOY_DIR/conf

LIB_DIR=$DEPLOY_DIR/libs
LIB_JARS=`ls $LIB_DIR|grep .jar|awk '{print "'$LIB_DIR'/"$0}'|tr "\n" ":"`

echo "classpath:$CONF_DIR:$LIB_JARS"
java -classpath $CONF_DIR:$LIB_JARS io.grpc.examples.tls.ClientTls fate-test154.zhejiangzhongjian.com 8869 tls-ca/ca.crt tls-ca/client.crt tls-ca/client.pem
echo "script runing"
